package com.app.web.sys.phone;

import com.app.web.sys.phone.model.PhoneCode;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * @program: tbyy-app->PhoneService
 * @Auther: 王伟
 * @Date: 2019/11/7 17:24
 * @Description:
 */
@Service
public class PhoneService {
    @Autowired
    private PhoneDao phoneDao;
    public PhoneCode selectByPrimaryKey(String phone){
        return phoneDao.selectByPrimaryKey(phone);
    }

    public int addPhoneCode(PhoneCode code){
        return phoneDao.addPhoneCode(code);
    }
}
